package com.vhall.component.controller.ctrl;

import com.vhall.component.controller.ctrl.facade.CtrlInnerFacade;
import com.vhall.component.entity.ctrl.vo.ConnectJudgeRspVO;
import com.vhall.component.framework.common.annotation.VhallComponent;
import com.vhall.component.service.ctrl.CtrlService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 并发控制组件 - Admin 端接口
 *
 * @author xuyongzheng
 * @since 2021/5/17 上午11:12
 **/
@VhallComponent
public class CtrlInnerController implements CtrlInnerFacade {

    @Autowired
    private CtrlService ctrlService;

    @Override
    public ConnectJudgeRspVO connectJudge(Integer accountId, String roomId, Integer ilId, String channelId, String thirdId, String nifyChannel) {


        return ctrlService.judgment(accountId, roomId, ilId, channelId, thirdId, nifyChannel);
    }
}
